<template>
	<view class="page" :style="themeColor">
		<view class="flex benben-position-layout flex flex-wrap align-center accountCancellation_flex_0"
			:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
			<view class='flex flex-wrap align-center justify-between flex-sub accountCancellation_fd0_0'>
				<view class='flex flex-wrap align-center'>
					<person></person>
				</view>
				<view class='flex flex-wrap align-stretch justify-center flex-sub'>
					<text class='accountCancellation_fd0_0_c1_c0'>注销账号</text>
				</view>
				<view class='flex flex-wrap align-center accountCancellation_fd0_0_c2'>
				</view>
			</view>

		</view>
		<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
		
		<view style="padding: 8rpx 32rpx;position: fixed;width: 100%;z-index: 5;background: #fff;">
			<back></back>
		</view>
		
		<!---注销账号协议flex布局开始-->
		<view class="ben_fu-jyf-parser_1">
			<jyf-parser :html="parser1 | richTextFormat"></jyf-parser>
		</view>

		<!---注销账号协议flex布局结束-->
		<view class="flex flex-wrap align-center justify-center benben-position-layout flex accountCancellation_flex_2">
			<button class='accountCancellation_fd2_0' @tap.stop="handleJumpDiy" data-type="navigateTo"
				:data-url="`/pages/xtsz/reasonForAccountCancellation/reasonForAccountCancellation`">填写注销申请</button>

		</view>
		<view :style="{height: '88rpx'}"></view>


	</view>
</template>
<script>
	import back from "@/components/back/index.vue"
	import person from "@/components/person/index.vue"
	export default {
		components: {
			back,
			person
		},


		data() {
			return {
				"parser1": "",
				"type": "1",
				aid: ''
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {},
		onLoad(options) {
			this.getxieyi()
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			async getxieyi() {
				let res = await this.$api.post(global.apiUrls.xieyi, {
					aid: 3
				});
				console.log(res, 'ressssssss')
				if (res.data.code != 1) {
					this.$message.info(res.data.msg)
					return
				}
				this.parser1 = res.data.data.content
				console.log(this.parser1, 'this.parser1')
			},
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #fff;
		background-size: 100% auto !important;
	}

	.accountCancellation_flex_0 {
		border: 1px solid #eee;
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.accountCancellation_fd0_0_c2 {
		width: 32rpx;
		height: 32rpx;
	}

	.accountCancellation_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333;
		line-height: 88rpx;
	}

	.accountCancellation_fd0_0_c0_c0 {
		font-size: 32rpx;
		font-weight: 500;
		color: #333;
		line-height: 88rpx;
	}

	.accountCancellation_fd0_0 {
		margin: 0rpx 32rpx 0rpx 32rpx;
	}

	.accountCancellation_flex_1 {
		background: #fff;
		font-size: 32rpx;
		background-size: 100% auto !important;
		padding: 32rpx 32rpx 32rpx 32rpx;
	}

	.accountCancellation_fd1_0 {
		line-height: 40rpx;
		font-size: 28rpx;
		font-weight: 500;
		color: #333333;
	}

	.accountCancellation_flex_2 {
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 5;
		bottom: calc(64rpx + var(--window-bottom));
	}

	.ben_fu-jyf-parser_1 {
		background-color: #ffffff;
		padding-left: 32rpx;
		padding-right: 32rpx;
		padding-top: 120rpx;
		padding-bottom: 32rpx;
	}

	.accountCancellation_fd2_0 {
		background: #6A0002;
		font-size: 32rpx;
		color: var(--benbenFontColor3);
		height: 88rpx;
		line-height: 88rpx;
		font-weight: 500;
		border-radius: 44rpx 44rpx 44rpx 44rpx;
		width: 638rpx;
	}
</style>